<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>HOU-Công tác sinh viên</title>
        <LINK REL="SHORTCUT ICON" href="<?php echo base_url(); ?>public/img/icon-logo.jpg"/>
        <link href="<?php echo base_url(); ?>public/css/Style-19-3.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>public/css/Style.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="<?php echo base_url(); ?>public/js/themes/base/jquery.ui.all.css"/>
        <script src="<?php echo base_url(); ?>public/js/jquery-1.10.2.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.core.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.widget.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.mouse.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.button.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.position.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.menu.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.accordion.js"></script>
        <script src="<?php echo base_url(); ?>public/js/ui/jquery.ui.selectable.js"></script>
        
        <script>
            $(function() {
                $("#bt-themsv-kt").bind("click", Add);
            });

            function Add() {
                $("#tb-ds-sv tbody").append("<tr>" + "<td><input type='text' name='Nhan[]'/></td>"
                        + "<td><input type='text' name='ViTriO[]' /></td>" + "<td><input type='text' name='ViTriO[]' /></td>" + "<td><input type='text' name='type[]'/></td>"

                        + "</tr>");

            }
            ;
        </script>
    </head>
    <body class="body-contaiter">
        <?php
        $user = $this->session->userdata['user'];
        ?>
        <div class="page-contaiter">
            <div class="top-contaiter">
                <?php
                include 'cb-banner.php';
                ?>
                <div id="nav-top">
                    <img  id="icon" src="<?php echo base_url(); ?>public/img/logo-nav.png" alt="Quan ly ho so"/>
                    <div class="nav-nav">
                        <h1 style="color: white;">Lập danh sách khen thưởng</h1>
                        <ul style="margin: 2px 0;">
                            <li style="list-style:none;"> Tổng hợp thống kê </li>
                        </ul>
                    </div> <!--end .nav-nav-->
                </div><!--end.nav-top-->
            </div>
            <div class="center-contaiter">

                <div id="content-sinhvien">
                    <form action="<?php echo base_url() ?>canbo/xuly_lapdanhsachkhenthuong" method="post">
                        <div id="dskhenthuong">
                            <h2>Lập danh sách khen thưởng</h2>

                            <div id="id-dmkt">

                                <label> Chọn danh mục khen thưởng</label>
                                <select name="Ma_dmKTKL" >

                                    <?php
                                    if (is_array($dsdmkt)) {
                                        foreach ($dsdmkt as $key => $value) {
                                            echo '<option value="' . $value['Ma_dmKLKT'] . '" >';
                                            echo $value['MoTa'];

                                            echo '</option>';
                                        }
                                    }
                                    ?>                           

                                    </option>
                                </select>
                                <p>
                                    <label>Mã Sinh viên</label>
                                    <input type="text" ></input>
                                    <button type="button" id="bt-themsv-kt" >Thêm Sinh viên</button>
                                </p>
                                <div>

                                    <div id="id-dmkt">

                                        <table id="tb-ds-sv">
                                            <caption>
                                                Danh sach sinh vien 
                                            </caption>
                                            <tr id="row-don" >
                                                <th	 class="col1-donsv">Lớp</th>
                                                <th class="col2-donsv">Mã Sinh viên</th>
                                                <th class="col3-donsv">Họ Tên</th>
                                                <th class="col5-donsv">Ngày Sinh</th>
                                            </tr>  


                                        </table>

                                    </div>
                                </div>

                            </div>

                        </div>
                        <button type="submit"  >Lưu danh sách</button>
                        <button type="submit" >Hủy</button>
                    </form>
                </div>
                </body>
                </html>
